class FindCode
{
private:
	static void minMax(Pixel pix);

	static void normalize(IplImage *crop, IplImage *normalized, int partsx=1, int partsy=1);

	static int histogram(IplImage *image, int partsx=1, int actPartx=1, int partsy=1, int actParty=1);

	void getRawCrop(char *FileName, IplImage *image);


public:
	//static void crop(IplImage *image, IplImage *rawcrop, IplImage *normalized, int type, int codeIndex);

	static void crop(IplImage *image, IplImage *rawcrop, IplImage *normalized, int type, int codeIndex);
};